
#ifndef CONNECTIONPROXY_H_
#define CONNECTIONPROXY_H_

#include "CharVector.h"

class ConnectionProxy{
	public:
		virtual ~ConnectionProxy();

		virtual void asyncWrite(CharVectorPtr bytes) = 0;

		virtual int getLocalPort() = 0;
		virtual int getRemotePort() = 0;
		virtual std::string getLocalAddress() = 0;
		virtual std::string getRemoteAddress() = 0;

		virtual std::string localToString() = 0;
		virtual std::string remoteToString() = 0;
		virtual std::string toString() = 0;
};


#endif /* CONNECTIONPROXY_H_ */
